Search results
1645 packages found
Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.
Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.
Returns true if a value has the characteristics of a valid JavaScript data descriptor.
Returns true if an object was created by the `Object` constructor, or Object.create(null).
Get the native type of a value.
Check if a value is a plain object
Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.
Returns true if the value is an object and not an array or null.
Type check values
Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
Test if a value is a collection.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- array
- typed array
- collection
- float64array
- float32array
- int32array
- View more
Test if a double-precision floating-point numeric value is NaN.
- stdlib
- stdmath
- assertion
- assert
- utilities
- utility
- utils
- util
- math
- mathematics
- ieee754
- floating-point
- float
- number
- View more
Test if a value is a string.
Type predicate functions for checking if a value is of a specific type or asserting that it is.
Returns `true` if the value is a primitive.
Test if a value is a number.
Test if a value is a boolean.
A little library for asserting types and values, with zero dependencies.
- type
- types
- type-check
- type-checking
- duck-typing
- arguments
- parameters
- values
- data
- contract
- assert
- check
- verify
- safe
Test if a value is a function.
Test if a value is a plain object.